package com.sinoair.domain.PKM;

import javax.persistence.*;

/**
 * PKM3 个人知识管理
 * 附件表
 * <pre>
 *  Version         Date            Author          Description
 * ---------------------------------------------------------------------------------------
 *  1.0.0           2017/09/09     senlin        -附件表
 * </pre>
 *
 * @author senlin
 * @version 1.0.0 2017/9/9 0009 21:18
 * @date 2017/9/9 0009 21:18
 * @since 1.0.0
 */
@Entity
@Table(name = "pkm_attachment")
public class Attachment {

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;
    private String foreignKey;//链接主表
    private String fileName;//当前文件名，导入后的FieName
    private String fileTile;//原始文件名，导入？的FileTitle
    private String fileSize;//文件大小
    private String fileType;//文件类型
    private String fileTime;//文件最后修改时间
    private String filePath;//原始文件路径
    private String fileCaption;//
    private boolean isLine;//

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getForeignKey() {
        return foreignKey;
    }

    public void setForeignKey(String foreignKey) {
        this.foreignKey = foreignKey;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileTile() {
        return fileTile;
    }

    public void setFileTile(String fileTile) {
        this.fileTile = fileTile;
    }

    public String getFileSize() {
        return fileSize;
    }

    public void setFileSize(String fileSize) {
        this.fileSize = fileSize;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getFileTime() {
        return fileTime;
    }

    public void setFileTime(String fileTime) {
        this.fileTime = fileTime;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getFileCaption() {
        return fileCaption;
    }

    public void setFileCaption(String fileCaption) {
        this.fileCaption = fileCaption;
    }

    public boolean isLine() {
        return isLine;
    }

    public void setLine(boolean line) {
        isLine = line;
    }
}
